Memory device and serial-parallel data transform circuit

ABSTRACT

In DRAM, a part of data in a row are rewritten at high speed. The memory device comprises dynamic type cell blocks 11; sense amplifiers 3 for sensing data of the cell blocks 11; latches 2 for storing data; data transfer gates for transferring data between the sense amplifiers 3 and the latches 2; and byte write mask circuit blocks 1 for controlling only the data transfer gates corresponding to only the latches 2 in which data have been written, to transfer data to the sense amplifiers 3. The byte write mask circuit block 1 opens only the transfer gates corresponding to the latches 2 to which data are written and further transfer data from the latches 2 to the sense amplifiers 3. Therefore, when data are required to be written in the cell blocks 11, since only the necessary data are written in the latches 2, it is possible to eliminate wasteful data write to the latches 2, thus enabling a high speed data transfer to the cell blocks 11.

This is a divisional of application Ser. No. 08/681,169, filed Jul. 22, 1996, now U.S. Patent No. 5,644,537 which is a divisional of application Ser. No. 08/346,080, filed Nov. 29, 1994, now U.S. Pat. No. 5,568,428.

FIELD OF THE INVENTION

The present invention relates to a memory device and a serial-parallel data transforming circuit, and more specifically to the memory device and the serial-parallel data transforming circuit which can write data in cells at high speed in a DRAM, in particular.

BACKGROUND OF THE INVENTION

As is well known, when cell data are accessed in the DRAM, since small charge information stored in the cells must be sensed and further amplified, it takes a long time for accessing the cell data. In this case, the sensing operation must be executed for all the cells belonging to selected word lines, that is, selected rows in a cell array.

By the utilization of the sensing operation, a page mode is well known in which the cells belonging to the same row are accessed at high speed. In this page mode, bit lines and sense amplifiers connected to a number of cells are rewritten compulsorily. Therefore, there inevitably exists a speed limit in the write cycle in this page mode.

To overcome this problem, there has been known a method of executing the page mode without directly transfer data to and from the bit lines (as disclosed in Japanese Published Unexamined (Kokai) Patent Application No. 60-7690, or U.S. Pat. No. 4,608,666). In this method, a row of SRAM cells is arranged along the rows of the DRAM cell array, and data are transferred between the DRAM and an external circuit through the SRAM cells. In this method, since the sense operation and the bit line capacitance of the DRAM cells can be separated from the external data transfer due to the presence of the SRAM cells, it is possible to obtain a high speed access determined by the access cycle to the SRAM.

In the above-mentioned method of accessing the DRAM via the SRAM, however, data transfer is executed between the SRAM and the DRAM in unit of row, some restriction conditions arises in the SRAM cells. In more detail, since the contents of the SRAM cells in which data are not written are undefined, when data are written in a part of the SRAM cells and further the written data are transferred to the DRAM cells, undefined data are written in the DRAM cells corresponding to the SRAM cells to which data are not written, with the result that the data so far stored in the DRAM cells are destroyed. To solve this problem, it is necessary to write data in all the SRAM cells or to transfer the contents of the DRAM cells (to which data are to be transferred) to the SRAM cells previously, before a part of the DRAM cell contents are rewritten.

The problem involved in the prior art memory device will be described in further detail hereinbelow.

In the memory device for accessing a DRAM via a SRAM, to rewrite one row of the DRAM, data of the SRAM are transferred in parallel, and data in one row of the DRAM are rewritten. In this case, where all bit data of the SRAM have been written immediately before data transfer, one row data of the DRAM are replaced with the SRAM data due to parallel transfer. However, in order to rewrite a part of the data in a row of the DRAM, when data are written in a part of bits of the SRAM and data are not written in other remaining bits of the SRAM, the bit data not written in the SRAM are not decided (either of H or L). Under these conditions, when the data are transferred from the SRAM to the DRAM as described above, data of "1" or "0" can be written correctly from the data-written bits to the corresponding bits of the DRAM for data rewrite. However, the undecided data are written from the data-undecided bits to the corresponding bits of the DRAM. Therefore, a part of data not required to be rewritten in the DRAM are written as undecided data, thus data being destroyed.

To prevent the above-mentioned problem, there are two methods as described above. One method is as follows: even when a part of bits in a row of the DRAM are required to be rewritten, all the bits of the SRAM are previously written, and all the bits of the SRAM are transferred to one row of the DRAM. The other method is as follows: as with the case of the ordinary DRAM provided with the SRAM, all the data in a row of the DRAM are transferred to the SRAM, and only a part of the bits already transferred to the SRAM are written, without writing remaining bits (left as they are). In this case, when data are transferred from the SRAM to the row of the DRAM, the rewritten data in the SRAM are transferred to the corresponding bits of the DRAM for data rewrite. The other bits of the DRAM are restored to the original data of their own. In the above-mentioned two prior art methods, however, in spite-of the fact that only a part of bits in a row of the DRAM are rewritten, there exists such a problem in that it takes a long time.

As described above, in the conventional memory device, an additional time is required to transfer data from the DRAM cells to the SRAM cells. In addition, since another time required to write data in all the SRAM cells cannot be disregarded and therefore not negligible, some problems arise in that the effect of the high cycle operation is reduced and further a large limitation exists in use of the above-mentioned method.

SUMMARY OF THE INVENTION

With these problems in mind, therefore, it is the object of the present invention to provide a memory device of high speed access, by which data can be transferred from the SRAM to the DRAM after data have been written in a part of the columns in a row of the SRAM, when data are rewritten in a part of the row or when data are written at only a part of the column addresses, without any special considerations for use, in such a memory device that the sensing operation related to the DRAM row access and the column access operation can be executed separately.

To achieve the above-mentioned object, the present invention provides a memory device comprising: at least one memory block having a plurality of memory cells arranged into roughly a matrix pattern, a column group being formed by a predetermined number of columns; a plurality of sense amplifiers each provided for each of the columns; a plurality of latches each provided for each of said sense amplifiers, data being transferred between each of said latches and corresponding each of said sense amplifiers, a latch group being formed by a predetermined number of said latches, the latch group corresponding one-to-one to the column group; a column decoder for outputting a column group select signal to select a predetermined number of the latch groups, external data being written only in the selected latch groups; and a plurality of write mask circuits each for storing the latch groups in which data have been written and for enabling data written in the selected latch groups to be transferred to said corresponding sense amplifiers.

Further, the present invention provides a serial-parallel data transforming circuit, comprising: serial data inputting means for receiving external serial data; latching means having a plurality of latches for latching each of the serial data, a predetermined number of said latches constituting a plurality of latch groups, respectively for outputting data latched by a plurality of said latches as parallel data therefrom; a plurality of data transfer gates each provided at an output terminal of each of said latches; and transfer masking means for selecting any of said latch groups, writing the serial data in the latches of the selected latch group, and turning on said data transfer gates corresponding to the latch group in which data have been written to output the parallel data therefrom while keeping closed said data transfer gates corresponding to the latch group in which data have been not written.

In the memory device according to the present invention, the control means opens only the data transfer means corresponding to the latch circuits to which data have been written, so that data can be transferred from the latch circuits to the sense amplifiers. Therefore, only the necessary data are latched by the latch circuits, so that it is possible to eliminate wasteful data write to the latch circuits, thus realizing a high speed data transfer.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic block diagram showing an embodiment of the memory device according to the present invention;

FIG. 1A is a part of more practical circuit shown in FIG. 1;

FIG. 2 is a detailed circuit diagram showing the essential portion related to data transfer operation in FIG. 1;

FIG. 2A is a detailed block diagram showing the even ordinal number column blocks;

FIG. 2B is a detailed block diagram showing the odd ordinal number column blocks;

FIG. 2C is a flowchart showing a data rewrite procedure according to the present invention;

FIG. 2D is a timing chart showing the operation of the data rewrite procedure shown in FIG. 2C;

FIG. 3 is a practical circuit diagram showing the byte write mask circuit block 1 shown in FIGS. 1 and 2; and

FIG. 4 is a practical circuit diagram showing the byte pair read decoder 8 shown in FIG. 1.

DETAILED DESCRIPTION OF THE EMBODIMENTS

The embodiment of the memory device according to the present invention will be described hereinbelow with reference to the attached drawings.

FIG. 1 is a schematic block diagram showing an embodiment of the memory device according to the present invention, in which the circuit configuration related to only the row direction access is shown. In FIG. 1, two 256-Kbit cell blocks 11 are shown as a part of a memory cell array. Further, each cell block 11 is composed of 256 row×1024 columns.

On both sides of each cell block 11, 512-column sense amplifiers 3 are arranged. Further, on both sides of each cell block 11, latches (SRAM cells) 2 directly accessible from the outside (whose number is equal to the sense amplifiers 3) are arranged. These latches 2 are so constructed as to be accessible for each 8 bits simultaneously, that is, in unit of byte.

As the byte data transfer path, byte data lines 4 are arranged in the vicinity of the latches 2, respectively. Further, a byte write mask circuit block 1 is provided for each latch 2, to enable data transfer between the latches 2 and the corresponding sense amplifiers 3, only when byte data are written from a byte data line 4 to the latches 2.

Between the two cell blocks 11 of 256 Kbits, column decoders 9 are provided for selecting the latches 2 in unit of byte. The column decoders 9 are used in common for both side cell blocks 11 so as to activate only one of the cell blocks 11 in divisional operation.

The latches 2 are arranged on both sides of each cell block 11. Further, on both sides of the latches 2, a byte pair read decoders 8 is arranged, respectively. The byte pair decoder 8 decides whether the both-side latches 2 are selected as a pair or only the one-side latches 2 are selected as a single. When the one-side latches 2 are selected, the numbers of the column decoders 9 corresponding to the latches 2 are n-1, n, n+1, . . . On the basis of the numbers of the column decoders 9, the selection conditions are determined. For instance, in the case of n-1, the latches 2 arranged on the side opposite to the column decoders 9 are selected; in the case of n, the latches 2 arranged on the same side of the column decoders 9 are selected; and so on.

FIG. 2 shows a practical circuit related to the essential portion of the data transfer in FIG. 1, in which there are shown the sense amplifiers 3, the latches 2, the byte data lines 4, the byte write masks circuit block 1, and control signals all arranged on one side (the right side in FIG. 1) of the cell block 11.

The 8 sense amplifiers 3(0) to 3(7) provided on one side of the cell block 11 are connected to the 8 latches 2(0) to 2(7) via 8 switching transistors T, respectively. On the other hand, a byte transfer signal BX applied to the gates of the switching transistors T is formed by the byte write mask circuit block 1. When this byte transfer signal BX changes to an H level in transfer, data can be written selectively for each byte in the latches 2.

The 8 latches 2 for constituting one byte are connected to the 8-pair byte data lines 4(00), 4(01) to 4(70), 4(71) via gates G, respectively. Further, data are transferred simultaneously to the latches 2 corresponding to the byte to which the select signals CSL of the selected column decoders 9 change to the H level.

When the select signal CSL changes to the H level, the byte write mask circuit block 1 stores this H level. After that, when a word transfer signal /WX changes to the L level, the byte transfer signal BX is set to the H level, so that the data already written in the latches 2 are transferred to the sense amplifiers 3, respectively.

A signal read byte /RB is used to read data from any bytes in data read, irrespective of the select signal CSL. In other words, when the signal read byte /RB is set to the L level, the byte transfer signal BX is set to the H level, to transfer data of the sense amplifiers 3 to all the latches 2, respectively.

More practical circuits shown in FIGS. 1 and 2 are shown in FIGS. 1A, 2A and 2B, respectively.

FIG. 1A shows a part of the circuit shown in FIG. 1. In FIG. 1A, the same reference numerals have been retained for the similar elements which have the same functions as with the case shown in FIG. 1. The cell block 11 is composed of 128-units of column blocks CB₀ to CB₁₂₇, and each column block is composed of 8 columns. The two adjacent column blocks CB_(i) and CB_(i+1) are arranged in symmetry in FIG. 1A. In more detail, the odd ordinal number column blocks CB₀, CB₂, . . . are arranged as shown in FIG. 2B, and the even ordinal number column blocks CB₁, CB₃, . . . are arranged as shown in FIG. 2A. To the respective column blocks CB_(i) and CB_(i+1), the byte write mask block circuits 1_(i) and l_(i+1) arranged on both sides of the column blocks are connected, respectively. The reason why the byte write mask block circuit 1 is arranged on both sides as shown in FIG. 1A is that since the size of this circuit 1 is relatively large, it is difficult to arrange this circuit only one side of the column block. By the layout as described above, it is possible to reduce the pattern area of the device. To each byte write mask block circuit 1_(i), a select signal CSL_(i) is applied from the column decoder 9 together with the signals /RB and /WX applied from the control circuit CC.

FIG. 2A shows the essential portion of the column block CB₁. shown in FIG. 1A, in which the column block CB₁ is composed of 8 columns C₀ to C₇.

The read operation can be executed as follows: For instance, when a word line WL₀ is activated, data of the memory cell MC is read to the bit lines BL₀ and /BL₀ previously equalized by the equalizing means EQ₀. The read data is sensed and further amplified by the sense amplifier (S/A) 3₀. The data sensed by the sense amplifier (S/A) 3₀ is stored by a latch 2₀ via two switching transistors T₀. The data of the latch 2₀ is transmitted to the DQ data lines 4.sub.(00) and 4.sub.(01) via two transfer gates G₀. The above-mentioned switching transistors T₀ are turned on or off on the basis of the signal BX_(i) applied by the byte write mask circuit 1₁. The above-mentioned transfer gates G₀ are turned on or off on the basis of the select signal CSL₁ applied by the column decoder 9.

The write operation is executed as follows: The case where only data of the two column blocks CB₁ and CB₂ are rewritten will be described hereinbelow. Two 8-bit data DG₁ and DG₂ applied from the external EXT are previously written-in the respective latches 2₀. to 2₇, and 2₀ to 2₇ of the column blocks CB₁ and CB₂ via the DQ buffers DB being divided into two times (data loads 1 and 2). After that, the latched data are transferred to and stored at the respective 8-bit memory cells connected to the activated word lines of the column blocks CB₁ and CB₂. In this transfer, the switching transistors T connected to the non-rewrite column blocks CB₀, and CB₃ to CB₁₂₇ (to which no data are written) are kept turned off (i.e., masked). Therefore, it is possible to prevent data in the non-rewrite column blocks from being destroyed.

The above-mentioned data write operation. will be described in further detail with reference to a flowchart shown in FIG. 2C and a timing chart shown in FIG. 2D.

(i) Data load 1 is executed (in step S1). That is, the column select signal CSL₁ is outputted to designate a column address in the column block CB₁ (at time t₀). Further, the transfer gates G are turned on, so that data (DG1) is transferred from the DQ lines to the latch 2 and then stored thereat (at time t₀).

(ii) Data load 2 is executed (in step S2). That is, the column select signal CSL₂ is outputted to designate a column address in the column block CB₂ (at time t₁). Further, the transfer gates G are turned on, so that data (DG2) is transferred from the DQ lines to the latch 2 and then stored thereat (at time t₁).

(iii) The word line WL is activated (in step S3, at time t2).

(iv) Only in the column blocks CB₁ and CB₂, the switching transistors T are turned on on the basis of the signals BX₁ and BX₂, so that data are transferred from the latch 2 to the sense amplifiers 3 (in step S4 and at time t₃). In other column blocks CB₀, CB₃, . . . , CB₁₂₇, the data transfer as described above is not executed.

(v) In the above-mentioned masked conditions, the signal /SAN is set to a low level and the signal SAP is set to a high level (in step S5 and at a time t₄). By this, data can be rewritten in only the column blocks CB₁ and CB₂. In the other column blocks, the data read from their own column blocks are written again as they are, so that it is possible to prevent data from being destroyed at the other column blocks.

The above-mentioned control operation can be executed under control of the control circuit CC.

FIG. 3 shows a practical byte write mask circuit block 1 shown in FIGS. 1 and 2. As shown in FIG. 3, the select signal CSL is inputted to the gate of an N-channel MOS transistor 20. Further, the word transfer signal /WX is given to the gates of a P-channel MOS transistor 22, an N-channel MOS transistor 26, a P-channel MOS transistor 30, and N-channel MOS transistor 31. On the other hand, the signal read byte /RB is inputted to the gate of a P-channel MOS transistor 32. Further, the source of the transistor 20 is connected to a low potential supply voltage via an N-channel MOS transistor 21. The drain of the transistor 20 is connected to a high potential supply voltage via P-channel MOS transistors 22 and 23. The drain of the transistor 20 is connected to the source of the transistor 26 via two opposite parallel connected inverter circuits 24 and 25. The drain of the transistor 26 is connected to the gates of the transistor 21 and P-channel MOS transistors 23 and 29 via two opposite parallel connected inverter circuits 27 and 28. The source of the transistor 29 is connected to the high potential supply voltage, and the drain thereof is connected to the sources of the transistor 30 and the drain of the transistor 32. Further, the source of the transistor 32 is connected to the high potential supply voltage, and the source of the transistor 31 is connected to the low potential supply voltage. Further, the byte transfer signal BX is outputted from the drains of the transistors 30 and 31. In the above-description, the two inverter circuits 24 and 25 are provided with an input-data self-holding function, which is referred to as a first register circuit RC1, hereinafter. In the same way, the two inverter circuits 27 and 28 are provided with the similar self-holding function, which is referred to as a second register circuit RC2, hereinafter. In the circuit construction as described above, the level of the select signal CSL is held by the first register circuit RC1. The second register circuit RC2 connected in series with the first register circuit RC1 is provided to generate the byte transfer signal BX for byte latch transfer, where necessary, in response to the select signal CSL held by the transistor 26.

The first register circuit RC1 stores the H level of the select signal CS in the following two cases:

(1) The case where data are not being transferred and further where the word transfer signal /WX for transferring data to the sense amplifiers 3 is at the H level so that the transistor 26 is turned on and the transistor 22 is turned off to select the byte write mask circuit block 1 for the first time. In other words, the case where the transistor 21 is turned on and further the transistor 23 is turned off.

(2) The case where data are being transferred and further where the word transfer signal /WX is at the L level so that the transistor 26 is turned off and the transistor 22 is turned on and further where the second register circuit output is at the H level so that the transistor 23. is turned off and the transistor 21 is turned on. That is, the case of the latch to which data are not being transferred.

When data are being transferred and further the output of the second register circuit RC2 is at the L level, that is, when corresponding to the latch to which data are being now transferred, since the transistors 23 and 22 are both turned on and the transistor 21 is turned off, the status of the first register circuit RC1 is reset irrespective of the level of the select signal CSL.

Through the above-mentioned operation, data transfer is made on the basis of only the select signal CSL-selected before the transfer start time point, and these latches 2 are reset to the non-select status after the data transfer. Further, the latches 2 selected during the transfer can transfer data at the succeeding data transfer, so that it is possible to guarantee the continuity of the data write in the latches 2. Further, in the memory initialization operation of resetting the first register circuit RC1, the word transfer signal /WX is changed from the H level to the L level and then returned to the H level. On the other hand, the second register circuit RC2 receives the output of the first register circuit RC1 and holds the received output as the information for outputting the byte transfer signal BX, during the period other than the data transfer. Further, the first and second register circuits RC1 and RC2 are disconnected from each other during the data transfer period by the transistor 26 on the basis of the word transfer signal /WX applied to the gate thereof.

Further, the signal read byte /RB inputted to the gate of the transistor 32 is used to change the byte transfer signal BX (as the data transfer control signal) to the H level during the data transfer period, irrespective of the status of the second register circuit RC2.

In other words, the byte write mask circuit block 1 comprises the first register circuit RC1 for storing the selection of a group of the latches 2, and the second register circuit RC2 for holding the status of the first register RC1 (connected to the second register RC2 via the transistor (switching element) 26) as the information for forming the byte transfer signal BX. Therefore, when data are transferred to the sense amplifiers 3, the first register circuit RC1 is disconnected from the second register circuit RC2 by this switching transistor 26, so that the first register circuit RC1 can hold the status selected during this disconnection period. Further, the second register circuit RC2 can hold the status of the first register circuit RC1 immediately before data are transferred, to form the byte transfer signal BX.

Through the operation as described above, it is possible to eliminate the wasteful time related to the high speed data access, thus enabling a high-efficiency operation beyond the dynamic memory device.

FIG. 4 is a detailed block diagram showing the byte pair read decoder 8 for changing the selection mode of the latches 2 by the column decoders 9. As shown in FIG. 4, a select signal CSLn and a signal read byte RB are inputted to an NOR circuit 34 through an AND circuit 33. A select signal CSLn-1 is directly inputted to the NOR circuit 34. The output of the NOR circuit 34 is outputted as a select signals CSL via an inverter circuit 35. In the same way, a select signal CSLn+1 and a signal read byte RB are inputted to an NOR circuit 37 through an AND circuit 36. A select signal CSLn is directly inputted to the NOR circuit 37. The output of the NOR circuit 37 is outputted as another select signal CSL via an inverter circuit 38.

In other words, when byte data are read from the cell block 11, it is possible to read two continuous byte data from one cell block 11 by utilization of the byte data lines 4 arranged on both sides of the cell block 11. Further, when data written, it is of course possible to write two byte continuous data simultaneously in the same way.

As described above, the byte pair read decoder 8 is used to change-over the two-byte data read/write to the ordinary one-byte data read/write or vice versa.

Here, the one-byte mode and the two-byte mode can be switched on the basis of the signal RB (the inversion signal of the signal read byte /RB).

When the signal read byte /RB is at the L level, the select signal CSL is set to the H level even when the succeeding column decoders 9 are selected. When the column decoders 9 are selected, two continuous select signals CSL are both at the H level, so that two latches 2 can be selected.

On the other hand, when the signal read byte /RB is at the H level, only the select signals CSL corresponding to the respective column decoders 9 are at the H level.

As described above, in the memory device according to the present invention, in the dynamic memory, when data are stored temporarily by the latches 2 and then transferred to and from the cell block 11, the transfer gates interposed between the cell block 11 and the sense amplifiers 3 are controlled independently for each group of at least two latches 2. Further, the byte write mask circuit blocks 1 for the above-mentioned control are arranged for each group of the latches 2. When the data are transferred to the sense amplifiers 3, the data transfer can be executed only in the group of the latches 2 in which data are written, but the data transfer cannot be executed in the group of the latches 2 in which data are not written by keeping the transfer gates closed. By doing this, it is possible to improve the access speed of the dynamic memory markedly.

Further, in the memory device according to the present invention, since the byte data are inputted in series and further these byte data are transferred to the DRAM in parallel at a time, it is possible to regard the latches 2 and the byte write mask circuit blocks 11, etc. as a serial-parallel data transforming circuit so constructed that the data outputs can be controlled for each data block.

In other words, in the serial-parallel data transforming circuit such that data are inputted in series to the latches 2 corresponding to each data group in series and further these data of the latches 2 are outputted simultaneously for data transfer, the construction is such that the transfer gates are provided to output parallel data in such a way that the transfer gates can be controlled independently for each group of a plurality of latches 2 and further the byte write mask circuit block 1 for this control is provided for each group of the latches 2. Therefore, when the parallel data are outputted, the data transfer is controlled in such a way that data are transferred to and from only the group of the latches 2 to which data have been written, and data are not transferred to and from only the group of the latches 2 to which data have not been written. The above-mentioned function can be regarded as that only the latches 2 to which data are inputted in series can function the serial-parallel data transforming circuit.

In the construction as described above, since the data transfer efficiency can be improved markedly in the serial parallel data transforming circuit, when this construction is applied to the dynamic memory device, it is possible to increase the data transfer speed markedly.

As described above, in the DRAM of the type such that the SRAM is interposed to transfer data at high speed to and from the memory cells continuously during the data transfer period, in the memory device according to the present invention, since only any determined data can be transferred to and from the memory cells, it is possible to realize a high speed access in the DRAM.

In the memory device according to the present invention, since data are outputted from only the latch circuits (to which data have been written) and then transferred to the sense amplifier circuits, it is possible to eliminate the data write of the latch circuits corresponding to the bits (to which no data write are necessary), thus realizing the high speed access. Further, in the serial-parallel data transforming circuit according to the present invention, since data of only the latch circuits (to which serial data are written) are parallel transformed and then outputted, the transforming efficiency can be increased. 

What is claimed is:
 1. A method for writing data to a memory device having a plurality of column lines each having memory cells, a sense amplifier, a first gate, a latch, a second gate and a DQ line connected thereto, said method comprising the steps of:writing data from the DQ line to at least one of the latches by tuning on the corresponding second gate using a CSL signal outputted by a column decoder, and storing in a mask circuit the column location of the column line connected to the latch in which the data is written; activating a word line to transfer data stored in the memory cells connected to the word line to the sense amplifiers connected to the column lines; turning on only the first gate connected to the written latch using a signal outputted by the mask circuit, and not turning on the first gates connected to unwritten latches; and activating the sense amplifiers so that the data from the DQ line is written only in the memory cell corresponding to the written latch, and the data read from the remaining memory cells are rewritten so as not to destroy the data stored therein.
 2. The method for writing data as defined in claim 1, wherein the step of storing in a mask circuit the column location of the column line connected to the latch in which the data is written includes the steps of:storing information relating to the latch in which the data is written in a first circuit; and selectively storing the information stored in the first circuit in a second circuit, the second circuit being used to turn on the first gate connected to the written latch, wherein when data is transferred from the written latch to the corresponding sense amplifier, information relating to the latch in which data is written is stored in the first circuit, and the information stored in the first circuit immediately before the data is transferred is output to the second circuit as the information used to turn on the first gate connected to the written latch.
 3. The method for writing data as defined in claim 1, wherein the latches are divided into column groups and all of the latches in the same column group are activated at one time.
 4. The method for writing data as defined in claim 3, wherein plural column groups are simultaneously accessed such that whenever a column group is selected for access, a predetermined number of column groups adjacent to the selected column group are simultaneously selected for access.
 5. A method for writing data to a memory device of the type having memory cells, sense amplifiers, latch circuits, and data lines, each latch circuit corresponding to one of the sense amplifiers, said method comprising the steps of:writing data from the data lines to selected latch circuits; and enabling data to be transferred from the selected latch circuits to their corresponding sense amplifiers, while not enabling data to be transferred from non-selected latch circuits to their corresponding sense amplifiers, so that only latch circuits that have been written into with data are enabled for data transfer.
 6. The method for writing data as defined in claim 5, further comprising the steps of:selecting memory cells such that each of the selected memory cells is coupled to one of the sense amplifiers; and activating the sense amplifiers so that the data transferred from selected latch circuits is written in the selected memory cells corresponding to sense amplifiers that correspond to the selected latch circuits, and the remaining selected memory cells, which correspond to sense amplifiers that correspond to non-selected latch circuits, are rewritten so as not to destroy the data previously stored therein.
 7. The method for writing data as defined in claim 6, wherein a switch is connected between each of the latch circuits and the corresponding sense amplifier, and the switches are selectively enabled in the enabling data step to allow data to be transferred from the selected latch circuits and to not allow data to be transferred from non-selected latch circuits.
 8. The method for writing data as defined in claim 7, wherein a switch is connected between each of the latch circuits and the data lines, and the switches are selectively enabled in the writing data step to select which latch circuits the data from the data lines is written into.
 9. The method for writing data as defined in claim 5, wherein a switch is connected between each of the latch circuits and the corresponding sense amplifier, and the switches are selectively enabled in the enabling data step to allow data to be transferred from the selected latch circuits and to not allow data to be transferred from non-selected latch circuits.
 10. The method for writing data as defined in claim 9, wherein a write mask circuit is used to selectively enable the switches.
 11. The method for writing data as defined in claim 9, further comprising the steps of:storing the latch circuits that have been selected in a first circuit; and selectively storing the information stored in the first circuit in a second circuit, the second circuit being used to enable switches corresponding to selected latch circuits, wherein when data is transferred from the selected latch circuits to their corresponding sense amplifiers, information relating to the latch circuits that have been selected is stored in the first circuit, and the information stored in the first circuit immediately before the data is transferred is output to the second circuit as the information used to enable the switches corresponding to the selected latch circuits.
 12. The method for writing data as defined in claim 5, wherein a switch is connected between each of the latch circuits and the data lines, and the switches are selectively enabled in the writing data step to select which latch circuits the data from the data lines is written into.
 13. The method for writing data as defined in claim 12, wherein a decoder is used to selectively enable the switches.
 14. The method for writing data as defined in claim 5, wherein the latch circuits are divided into column groups and all of the latch circuits in the same column group are activated at one time.
 15. The method for writing data as defined in claim 14, wherein plural column groups are simultaneously accessed such that whenever a column group is selected for access, a predetermined number of column groups adjacent to the selected column group are simultaneously selected for access.
 16. A method for writing data to a device of the type having input data lines, latch circuits, transfer gates, and output data lines, each transfer gate corresponding to one of the latch circuits, said method comprising the steps of:writing a plurality of data from the input data lines to selected latch circuits in a serial manner, each of the data being written in one or more selected latches; and turning on the transfer gates corresponding to selected latches to which data has been written in order to output the plurality of data in parallel from all selected latch circuits to the output data lines, while keeping turned off the transfer gates corresponding to non-selected latch circuits to which data has not been written, so that only latch circuits that have been written into with data are able to transfer data.
 17. The method for writing data as defined in claim 16, wherein each output data line is coupled between one of the transfer gates and a memory cell such that the data transferred from selected latch circuits is written in the memory cells corresponding to the turned on transfer gates, and the memory cells that correspond to turned off transfer gates are not written to so as not to destroy the data previously stored therein.
 18. The method for writing data as defined in claim 16, wherein each output data line is coupled between one of the transfer gates and a register such that the data transferred from selected latch circuits is written in the registers corresponding to the turned on transfer gates, and the registers that correspond to turned off transfer gates are not written to so as not to destroy the data previously stored therein.
 19. The method for writing data as defined in claim 16, wherein a write mask circuit is used to selectively turn on the transfer gates.
 20. The method for writing data as defined in claim 16, wherein the latch circuits are divided into column groups and all of the latch circuits in the same column group are activated at one time.
 21. The method for writing data as defined in claim 20, wherein plural column groups are simultaneously accessed such that whenever a column group is selected for access, a predetermined number of column groups adjacent to the selected column group are simultaneously selected for access. 